home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Light ROM 1
/
LIGHT-ROM 1 (Amiga Library Services)(1994).iso
/
ffdisks
/
d894.lha
/
Resize
/
README
< prev
next >
Wrap
Text File
|
1993-06-09
|
5KB
|
134 lines
RESIZE
~~~~~~
WHAT IS IT:
~~~~~~~~~~~
Utility to change the dimensions of the shell window, font-sensitive.
DISTRIBUTION:
~~~~~~~~~~~~~
This product may be freely distributed under the following restrictions:
1. The complete contents of the original archive must remain intact.
2. The original material may in no way be modified.
3. This product may not be distributed for profit. A nominal copying
fee is authorized (for cost of materials and shipping and handling
comparable to that charged by Fred Fish.)
4. Commercial distribution of this product without written permission
from the author is forbidden.
USE OF THIS PRODUCT:
~~~~~~~~~~~~~~~~~~~~
This product may be used under the following restrictions:
1. Non-commercial use of this product is free of charge.
2. Commercial use of this product without written permission from the
author is forbidden. This includes shareware.
3. Honorable mention of the author and product must be included in the
client documentation (non-commercial and licensed-commercial.)
4. This product may not be used for malicious intent.
DISCLAIMER:
~~~~~~~~~~~
This product is provided without any warranty, express or implied. The
user of this product assumes full responsibility for any damage resulting
from the use and/or misuse of this product.
CONTENTS:
~~~~~~~~~
This archive contains the source and a simple Makefile to build a new
binary with one of three C-compilers: SAS/C, DICE and GCC
README This file
POSTER.cats Original POSTER of the example i used
Makefile Simple Makefile, edit it to match your configuration
resize.c Source
resize Binary compiled with SAS/C
USAGE:
~~~~~~
Resize offers two options: Reportig the current dimensions of the shell
window and setting new ones.
If resize is invoked with no parameters, it will inform about the inner
dimension (in characters of the current font), the position relative to the
upper left corner of the screen and the outer dimension (in pixels) of the
window.
Example:
1.PROJ:> resize
console dimensions: 80x24+0+0(502x280)
This means, the window is in the upper left corner of the screen, has
80 columns, 24 rows and is 502 pixles wide and 280 pixels high.
To change these coordinates, the new dimensions must be specified in a
similar manner. The first two values will be the new width and height of
the window, the second to will be the distance from the upper left corner.
If one of the last two values is negative (i.e. `-` instead of `+`), the
opposite side of the screen is used. If the new size will not fit in the
current or new position, the window will be moved until it fits (This
includes covering the whole screen, if the dimensions are big enough).
Example:
1.PROJ:> resize 132x40+0-0
This will change the size of the window, so that it contains exactly
132 columns and 40 lines, and move it to the lower left corner of the
screen.
1.PROJ:> resize 40x16-0+0
The window will be 40 by 16 characters and placed in the upper right
corner of the screen.
If only certain parts of the dimension shall be changed, several parts of
the argument may be omitted. A single integer changes only the width,
while an `x` followed directly by an integer (no space) changes the height.
An integer preceded by a `+` or `-` specifies the new distance from the
left/right side, an additional integer (also preceded by `+` or `-`)
will be the distance from the top/bottom. If only the sign is given and
no integer, 0 is assumed.
Example:
1.PROJ:> resize 80x24
Makes the window 80 by 24 letters
1.PROJ:> resize x12
Leaves the width unchanged, but makes the window 12 lines high.
1.PROJ:> resize 60+-
Height unchanged, width set to 60 characters, move window to the lower left
corner.
1.PROJ:> resize ++0
Move the window to the upper left corner. (Note: under AmigaDos, `+` at the
end of the line is some sort of line separator. You must specify "+0" or
"+;" if you want the window to be on the left or upper side.
Resize is not very error tolerant. For example "resize foobar" will do
nothing (no error, no change). The options `+help`, `-?`, or more than
one argument (resize foo bar) will give some online help.
Credits:
~~~~~~~~
Hakan Tandogan for the nice README (where did he get it from?)
Frowalt Egerer for the free Coke (light)
CONTACTING THE AUTHOR:
~~~~~~~~~~~~~~~~~~~~~~
I can be reached by the following means:
Internet: bdraschk@cip.informatik.uni-erlangen.de
UUCP: Not yet (*§$%&@-Modem)
Snail: Bernd Raschke
Hartmannstrasse 129 / Zi. 426
D-8520 (91058)-Erlangen